package com.weixing.mall.provider.model.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.base.enums.IsEnableEnum;
import com.weixing.mall.provider.api.model.enums.AgentLevelEnum;
import com.weixing.mall.provider.api.model.enums.AgentTypeEnum;
import com.weixing.mall.provider.api.model.enums.IsActiveEnum;
import com.weixing.mall.provider.api.model.enums.IsOfficialEnum;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author wx
 * @Date 2019/10/15 9:57
 * @Version 1.0
 */
@Data
public class AgentTreeVo {
    private Long id;
    private Long parentId;
    private String mobile;
    private String agentName;
    private String agentSn;
    private String wechatNum;
    private String email;
    private String idCard;
    private BigDecimal discount;
    private AgentLevelEnum agentLevel;
    private AgentTypeEnum agentType;
    private IsEnableEnum isEnable;
    private IsOfficialEnum isOfficial;
    /**
     * 是否活跃
     */
    private IsActiveEnum isActive;
    private String province;
    private String city;
    private  String customerName;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date maturityTime;
    /**
     * 下级数量
     */
    private Integer quantity;
    private String addr;

    //会员ID
    private Long memberId;
}
